﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Windows;

namespace TestApp
{
	/// <summary>
	/// Interaction logic for App.xaml
	/// </summary>
	public partial class App : Application
	{
		private void Application_Startup ( object sender, StartupEventArgs e )
		{
			try
			{
				var manager = new QueryManager ();
				var window = new Window1 ();
				window.DataContext = manager;
				var commands = new Commands ( manager, window );
				window.Show ();
			}
			catch(Exception ex)
			{
				MessageBox.Show ( ex.Message );
			}
		}
	}
}
